package com.gxa.order.controller;/*
 *Created by${妄也} on 2022/10/7
 */

import com.gxa.common.commons.R;
import com.gxa.order.pojo.Refund;
import com.gxa.order.service.RefundService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class refund {
@Autowired
private RefundService refundService;

    @GetMapping("/addrefund")
    public R addrefund(Refund refund){

        return refundService.addrefund(refund);
    }
    @GetMapping("/findtk")
    public R findtk(String  order){
        return refundService.findorderid(order);
    }
}
